package com.lwx.setAndMap;

/**
 * 映射  也可以叫做字典
 */
public interface Map<K extends Comparable<K>,V> {
    int getSize();
    boolean isEmpty();
    boolean contains(K key);
    void add(K key,V value);
    V remove(K key);
    void set(K key,V value);
    V get(K key);
}
